package com.topone.dto;


import com.topone.dataObject.OrderDetail;
import lombok.Data;
import java.util.Date;
import java.util.List;

@Data
public class ProviderNotificationDTO {

    private Long id;

    private String openid;

    private Integer totalFee;  //订单金额

    private String outTradeNo;//商户订单号

    private String timeEnd;   //支付完成时间

    private String couponCode;

    private String subOpenid;

    private String returnCode;

    private String businessId;

    private String orderId;

    private Date createTime;

    private Date updateTime;

    private BussinessDTO bussinessDTO;

    private List<OrderDetail> orderDetails;

    private OrderDTO orderDTO;

    private TcCouponDTO tcCouponDTO;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public Integer getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(Integer totalFee) {
        this.totalFee = totalFee;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public String getTimeEnd() {
        return timeEnd;
    }

    public void setTimeEnd(String timeEnd) {
        this.timeEnd = timeEnd;
    }

    public String getCouponCode() {
        return couponCode;
    }

    public void setCouponCode(String couponCode) {
        this.couponCode = couponCode;
    }

    public String getSubOpenid() {
        return subOpenid;
    }

    public void setSubOpenid(String subOpenid) {
        this.subOpenid = subOpenid;
    }

    public String getReturnCode() {
        return returnCode;
    }

    public void setReturnCode(String returnCode) {
        this.returnCode = returnCode;
    }

    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public BussinessDTO getBussinessDTO() {
        return bussinessDTO;
    }

    public void setBussinessDTO(BussinessDTO bussinessDTO) {
        this.bussinessDTO = bussinessDTO;
    }
}
